		function detectAndSync(){
			$.ajax({
			type:"POST",
	  url: "./journalistSync?uid="+ $("input[name='uid']").attr("value"),
	  success: function(data){
	  									var obj=$.parseJSON(data);
	  									if(!obj)$("#uid_error_msg").html("<b><font color='red'>USER IS NOT EXIST</font></b>");
	  									var ttt=$.parseJSON(obj);
	  									if(!ttt.error_msg=='')
	  										$("#uid_error_msg").html("<b> <font color='red'>"+ttt.error_msg+"</font></b>");
	  									else{
	  										$("input[name='name']").attr("value",ttt.cleanname);
	  										$("#Language option[value='"+ttt.language+"']").attr("selected", true);
	  									 $("input[name='email']").attr("value",ttt.email);
	  									 $("input[name='status']").attr("value",ttt.status);
	  									 $("input[name='createtime']").attr("value",ttt.createtime);
	  									 $("input[name='roles']").attr("value",ttt.style);
	  									 $("input[name='submit']").attr("value",1);
	  									 $("#uid_error_msg").html("");
	  									}
			  },
		  dataType: "html"
			});
			return false;
		}
